import request from "@/base/request"
import { ElMessage } from "element-plus"

export default async function getVideoList(videoListParm) {
        
    const response=(await request.post("/video/videoBaseInfo/getVideoInfoList",videoListParm)).data
    if(response.code==200){
        return response.data
    }else{
        ElMessage.error(response.msg==='未能读取到有效 token'?'尚未登录':response.msg)
    }
    return null
}
